add a get_indices_with_depth method to GtkTreePath with proper GI array annotations
authorJohn (J5) Palmieri <johnp@redhat.com>
Tue, 27 Apr 2010 21:12:41 +0000 (17:12 -0400)
committerJohn (J5) Palmieri <johnp@redhat.com>
Mon, 3 May 2010 16:47:38 +0000 (12:47 -0400)
commit33194ff5f46e39db123c8a4668d3a4b0bde48ecd
treeab4ab07186e2dcf0c90fff68f64c5ee210a5cca9
parent5098f34234aa29cf496611bc7d41a7dcfac63743
add a get_indices_with_depth method to GtkTreePath with proper GI array annotations

* get_indices does not return a length so we can not annotate it to return an
  array in bindings that use GObject Introspection
* this method is the same as get_indices except it takes an int * as the depth
  parameter which we can then use in the array annotation
* in C this function returns an integer pointer array and updates depth to the
  number of integers in the array
* in a GI binding this returns the native array type for the bound language
  (e.g. in PyGI this returns a list of integers)
docs/reference/gtk/gtk-sections.txt
docs/reference/gtk/tmpl/gtktreemodel.sgml
gtk/gtk.symbols
gtk/gtktreemodel.c
gtk/gtktreemodel.h